<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
 <meta charset="UTF-8">
    <title>货物进销管理系统-仓管员端</title>
    <link rel="stylesheet"  type="text/css" href="../static/css/layui.css">
    <script src="../static/js/layui.js"></script>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" ></script>
    <base href="/">
</head>
<script>
  layui.use(['element', 'layer', 'util'], function(){
    var element = layui.element
            ,layer = layui.layer
            ,util = layui.util
            ,$ = layui.$;

    //头部事件
    util.event('lay-header-event', {
      //左侧菜单事件
      menuLeft: function(othis){
        layer.msg('展开左侧菜单的操作', {icon: 0});
      }
      ,menuRight: function(){
        layer.open({
          type: 1
          ,content: '<div style="padding: 15px;">处理右侧面板的操作</div>'
          ,area: ['260px', '100%']
          ,offset: 'rt' //右上角
          ,anim: 5
          ,shadeClose: true
        });
      }
    });
  });
</script>


<!-------------------------------------->
<!-------------------------------------->
<!---------------这里是body-------------->
<!-------------------------------------->
<!-------------------------------------->
<body>
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo layui-hide-xs layui-bg-black">货物进销管理系统</div>
    <!-------------------------------------->
    <!-------------------------------------->
    <!-- 头部区域（可配合layui 已有的水平导航） -->
    <!-------------------------------------->
    <!-------------------------------------->
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item layui-hide layui-show-md-inline-block">
        <a href="javascript:;">
          <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" class="layui-nav-img">
          仓管员
        </a>
        <dl class="layui-nav-child">
          <dd><a href="">设置</a></dd>
          <dd><a href="">退出</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
        <a href="javascript:;">
          <i class="layui-icon layui-icon-more-vertical"></i>
        </a>
      </li>
    </ul>
  </div>


  <!-------------------------------------->
  <!-------------------------------------->
  <!---------------这里是侧边栏-------------->
  <!-------------------------------------->
  <!-------------------------------------->
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree" lay-filter="test">
        <li id="firstpage" class="layui-nav-item layui-nav-itemed" onclick="first_page()">
          <a  class="" href="javascript:;">仓库货物数量管理</a>
        </li>
        <li id="secondpage" class="layui-nav-item" onclick="second_page()">
          <a href="javascript:;">原材料信息中心</a>
        </li>
        <li id="thirdpage" class="layui-nav-item" onclick="third_page()">
          <a href="javascript:;">仓管员历史记录</a>
        </li>
          <li id="forthpage" class="layui-nav-item" onclick="forth_page()">
          <a href="javascript:;">仓管员仓库信息中心</a>
        </li>
      </ul>
    </div>
  </div>


  <!-------------------------------------->
  <!-------------------------------------->
  <!-------------- 内容主体区域 ---------->
  <!-------------------------------------->
  <!-------------------------------------->
  <div class="layui-body">
    <iframe id="iframe" src="wnumber" height="655" width="1340"></iframe>
  </div>


  <!-------------------------------------->
  <!-------------------------------------->
  <!------------这里是底部留存区------------->
  <!-------------------------------------->
  <!-------------------------------------->
  <div class="layui-footer">
    <p>本系统系@LTH&JXY&YZP共同研发</p>
  </div>
</div>
<script>
    function first_page(){
        $("#iframe").attr("src","wnumber");
    }
    function second_page(){
        $("#iframe").attr("src","wraw");
    }
    function third_page(){
        $("#iframe").attr("src","whistory");
    }
    function forth_page(){
        $("#iframe").attr("src","whouse");
    }
</script>
</body>
</html>